<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="<?php echo $_BASE_DIR?>css_v1/style.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $_BASE_DIR?>css_v1/select.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?php echo $_BASE_DIR?>js_v1/jquery.js"></script>
<script type="text/javascript" src="<?php echo $_BASE_DIR?>js_v1/jmw.js"></script>
<script type="text/javascript" src="<?php echo $_BASE_DIR?>js_v1/jquery.idTabs.min.js"></script>
<script type="text/javascript" src="<?php echo $_BASE_DIR?>js_v1/select-ui.min.js"></script>
<script type="text/javascript" src="<?php echo $_BASE_DIR?>javascripts/commond.js"></script>
    <script type="text/javascript" src="<?php echo $_BASE_DIR?>baidu_editor/ueditor.config.js"></script>
    <!-- 编辑器源码文件 -->
    <script type="text/javascript" src="<?php echo $_BASE_DIR?>baidu_editor/ueditor.all.min.js"></script>
     <script type="text/javascript" charset="utf-8" src="<?php echo $_BASE_DIR?>baidu_editor/lang/zh-cn/zh-cn.js"></script>
<link href="<?php echo $_BASE_DIR?>uploadify/css/uploadify.css"
	rel="stylesheet" type="text/css" />

<style type="text/css">
#header {
	height: 85px
}

#leftside,#container,#splitBar,#splitBarProxy {
	top: 90px
}
</style>
<script type="text/javascript">
$(document).ready(function(e) {
    $(".select1").uedSelect({
		width : 345			  
	});
	$(".select2").uedSelect({
		width : 167  
	});
	$(".select3").uedSelect({
		width : 110
	});
});
</script>
<script src="<?php echo $_BASE_DIR?>javascripts/jquery.ocupload.min.js"
	type="text/javascript"></script>

<script type="text/javascript">
function add(){


	var aboutus= UE.getEditor('editor').getContent();

	//正浮点数
	//var reg=/^[0-9]+(\.[0-9]+){0,1}$/;
	//正整数

	
	$.post("/admin/system/applydec",{aboutus:aboutus},function(data){
		if(data.statusCode==200)
		{
			alert(data.message);
			window.location.reload();		
			return false;
		}else{
			alert('设置失败');
		    return false;
			}
	},'json');

}

</script>

</head>

<body>

     <div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="#">申请报单中心设置</a></li>
   
    </ul>
    </div>

    <div class="formbody">
    <div id="usual1" class="usual">
  	<div id="tab1" class="tabson">
    <ul class="forminfo">
     <form action="" method="post" onsubmit = "return false;">

     <?php  
         

          $aboutus=Helper_Common::getPublicSet('applydec',$_SESSION['acct']['id']);
          ?>    
             

	
<li>
				<label>申请报单中心设置:</label>
<br></br>
				<?php echo Q::control('bdeditor','editor',array('value'=>$aboutus))?>		
				</li>						
				<li><label></label><input name="" type="submit" onclick="add();" class="btn" value="确认"/></li>
	  
	
	</form>
    </ul></div></div></div></body></html>
    

